<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>LoginTest</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

</head>
<body>
    <h3>用户名密码登录测试,只有用户名:kitty,密码:1234才能登录成功</h3>
    <div><div>标签有id name等属性</div>
    <form action="/login" method="post" enctype="application/x-www-form-urlencoded">
        <label class="text-xl-center" for="name">用户名</label>
        <input class="text-input" id="name" name="username"/>
        <label class="text-xl-center" for="pwd">密码</label>
        <input class="text-input" id="pwd" name="password"/>
        <button class="btn btn-danger" type="submit">登录</button>
    </form>
    </div>
</body>
</html>